﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MealBooking.Core.Models.Meals;
using MealBooking.Core.Models.Accounts;
using MealBooking.Core.Models.Orders;

namespace MealBooking.Core.Services.Interface.OrderService
{
    public interface IOrderService
    {
        #region Order
        List<Order> TodayOrders();
        Order OrderDetail(string orderId);
        #endregion

        #region User Order
        List<Order> Orders(string accountId);
        Order UserTodayOrder(string accountId);
        Order AddMealToOrder(string customerId, MealWithSum newMeal);
        Order UpdateUserTodayOrder(Order newOrder);
        Order OrderUserTodayOrder(string accountId);
        void DeleteUserTodayOrder(string accountId);
        #endregion

        #region Manager's Order
        ManagerOrder ManagerTodayOrder(string managerId);
        List<Order> TodayOrdersInManagerOrder(string managerId);
        ManagerOrder BookManagerOrder(string managerId);
        ManagerOrder AddOrderToManagerOrder(Order newOrder);
        #endregion
    }
}
